package com.example.easyscript.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.example.easyscript.entity.task.Image;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author huzixian
 * @date 2023-03-08
 */
@Repository
public interface ImageMapper extends BaseMapper<Image> {

    List<String> getImageUrlListByIds(@Param("ids") List<Integer> imageIds);

    String getgetUrlByImageId(@Param("imageId") Integer imageId);
}